package com.yitong;

import java.io.IOException;
import java.io.OutputStream;
import java.net.Socket;

public class demo3 {
    public static void main(String[] args) throws IOException {

        Socket s =new Socket("192.168.74.1",10000);

        OutputStream os = s.getOutputStream();

        os.write("练习一下，马上就好！".getBytes());

        os.close();
    }
}
